/**
 * Created by hjqi on 2016/1/13.
 */


var base = require('./mongodb');
var util = require('util');
var userBasicInfo_collection_name = require('../lib/config/config').config.mongodb.userBasicInfo_collection;

module.exports = UserBasicInfoDB;

function UserBasicInfoDB(){
    base.call(this,userBasicInfo_collection_name);
}

UserBasicInfoDB.prototype.exists = function (db, queryData, cb) {
    this.getWithParam(null,queryData, cb);
}

util.inherits(UserBasicInfoDB,base);

/*
 userBasicInfo.schema
db.userBasicInfo.findOne()
{

 "_id" : ObjectId("57edbbdf786c71802f6da316"),
 "company" : "naturecloud",
 "identifyingCode" : "0436",
 "info" : {
 "isClusterUser" : true
 },
 "password" : "e10adc3949ba59abbe56e057f20f883e",
 "phoneNumber" : "13605806479",
 "pullSecr" : "aGpxaTY6MTIzNDU2",
 "username" : "hjqi6"
}*/
